PATHMac OS 8 Developer Documentation > Operating System Services > Multiprocessing Services >

Adding Multitasking Capability to Applications Using Multiprocessing Services

   

MPGetTaskStorageValue

Gets the storage value stored at a specified index number.

TaskStorageValue MPGetTaskStorageValue (TaskStorageIndex index);
index
A 32-bit value of type TaskStorageIndex specifying the index number of the storage value you want to obtain.
function result
A value of type TaskStorageValue that is the value stored at the specified index number.
DISCUSSION

Calling this function from within a task effectively reads a value in a two-dimensional array cross-referenced by task storage index value and the task ID.

Note that since this function does not return any status information, it may not be immediately obvious whether the returned storage value is valid.

VERSION NOTES

Introduced with Multiprocessing Services 2.0.

SEE ALSO

The function MPSetTaskStorageValue .


© 1999 Apple Computer, Inc. – (Last Updated 07 May 99)